package com.lxmes.business.mapper;

import java.util.List;
import com.lxmes.business.domain.ZcTemporaryPurchasePlan;
import com.lxmes.common.annotation.DataScope;

/**
 * 临时采购计划Mapper接口
 * 
 * @author lx
 * @date 2023-06-27
 */
public interface ZcTemporaryPurchasePlanMapper 
{
    /**
     * 查询临时采购计划
     * 
     * @param id 临时采购计划主键
     * @return 临时采购计划
     */
    public ZcTemporaryPurchasePlan selectZcTemporaryPurchasePlanById(Long id);

    /**
     * 查询临时采购计划列表
     * 
     * @param zcTemporaryPurchasePlan 临时采购计划
     * @return 临时采购计划集合
     */
    @DataScope(deptAlias = "de", userAlias = "de")
    public List<ZcTemporaryPurchasePlan> selectZcTemporaryPurchasePlanList(ZcTemporaryPurchasePlan zcTemporaryPurchasePlan);

    /**
     * 新增临时采购计划
     * 
     * @param zcTemporaryPurchasePlan 临时采购计划
     * @return 结果
     */
    public int insertZcTemporaryPurchasePlan(ZcTemporaryPurchasePlan zcTemporaryPurchasePlan);

    /**
     * 修改临时采购计划
     * 
     * @param zcTemporaryPurchasePlan 临时采购计划
     * @return 结果
     */
    public int updateZcTemporaryPurchasePlan(ZcTemporaryPurchasePlan zcTemporaryPurchasePlan);

    /**
     * 删除临时采购计划
     * 
     * @param id 临时采购计划主键
     * @return 结果
     */
    public int deleteZcTemporaryPurchasePlanById(Long id);

    /**
     * 批量删除临时采购计划
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteZcTemporaryPurchasePlanByIds(Long[] ids);
}
